<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Export Import Prop</Title>
      <Shortcut>gieprop</Shortcut>
      <Description>导入导出属性代片段</Description>
      <Author>ZEQP</Author>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>type</ID>
          <ToolTip>属性类型</ToolTip>
          <Default>string</Default>
        </Literal>
        <Literal>
          <ID>property</ID>
          <ToolTip>属性名</ToolTip>
          <Default>PropName</Default>
        </Literal>
        <Literal>
          <ID>desc</ID>
          <ToolTip>描述</ToolTip>
          <Default>属性描述</Default>
        </Literal>
      </Declarations>
      <Code Language="csharp">
        <![CDATA[/// <summary>
        /// $desc$ $selected$
        /// </summary>
        [ExporterHeader(DisplayName = "$desc$", Format = "@")]
        [ImporterHeader(Name = "$desc$")]
        public $type$ $property$ { get; set; }$end$]]>
      </Code>
      <Imports>
        <Import>
          <Namespace>Magicodes.ExporterAndImporter.Core</Namespace>
        </Import>
        <Import>
          <Namespace>Magicodes.ExporterAndImporter.Excel</Namespace>
        </Import>
      </Imports>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
